package org.nimi317.web_gis.form.post;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author thunderobot
 */
@Data
public class RolePost {

    @NotNull
    private Integer id;

    @NotBlank
    @Length(max = 12, message = "角色名称长度不能超过12")
    private String rName;
}
